package com.zsx.shopping.common.api.seckill.enums;

import lombok.Getter;

public enum SeckillStatus {

    PLACEHOLDER     ((byte) 1, "秒杀占位"),

    SUCCESS         ((byte) 2, "抢购成功"),

    READY           ((byte) 3, "订单准备就绪"),

    FAIL1           ((byte) 4, "由于您未设置默认收货地址,本次秒杀失败");

    @Getter
    private Byte code;

    @Getter
    private String message;

    SeckillStatus(Byte code, String message) {
        this.code = code;
        this.message = message;
    }
}
